package friendsbtt.core;

import java.util.HashMap;
import java.util.Map;

public final class Settings {
	private RunMode runMode;
	private HashMap<String, String> appSettings;
	
	private static Settings instance = new Settings();
	
	private Settings(){
		this.runMode = RunMode.Debug;
		this.appSettings = new HashMap<String, String>();
		setDefaultAppSettings();
	}
	
	private void setDefaultAppSettings(){
		this.appSettings.put("applicationname", "friendsbtt");
		this.appSettings.put("username", "friendsbtt.geral@gmail.com");
		this.appSettings.put("password", "devilfriends1");
	}

	public static RunMode getRunMode(){
		return instance.runMode;
	}
	
	public static Map<String, String> getApplicationSettings(){
		return instance.appSettings;
	}
}
